package org.springframework.beans.extend;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.core.io.Resource;

public class MyXmlBeanFactory extends MyDefaultListableBeanFactory {
	private final MyXmlBeanDefinitionReader  reader =
			new MyXmlBeanDefinitionReader(this);

	public MyXmlBeanFactory(Resource resource)  {
		this(resource, null);
	}
	public MyXmlBeanFactory(Resource resource, BeanFactory parentBeanFactory)
			 {
		super(parentBeanFactory);
		this.reader.loadBeanDefinitions(resource);
	}
}
